#!/usr/bin python3
# -*- coding:UTF-8 -*-
# Author: nigo
import pandas as pd
import plotly.graph_objects as go

# 数据
df = pd.DataFrame({'a':[1,2,3,4],'b':[10,11,12,13],'c':[11,12,13,14]})
# 图
line1 = go.Scatter(x=df['a'],y=df['b'],name="线1")
line2 = go.Scatter(x=df['a'],y=df['c'],name='线2')
# 画布
fig = go.Figure([line1,line2])
# 样式
fig.update_layout(title='绘图三板斧')
# 显示画布
fig.show()
